export interface PlayerState {
    userId: string;
    position: { x: number, y: number };
    hp: number;
    stamina: number;
    status: string[];
}

export interface BlockState {
    id: string;
    type: string;
    position: { x: number, y: number };
    word?: string;
}

export interface MsgGameState {
    roomId: string;
    gameTime: number;
    players: PlayerState[];
    blocks: BlockState[];
    effects: {
        id: string;
        type: string;
        position: { x: number, y: number };
        duration: number;
    }[];
} 